Skip to main content

Activate Browser

AutomatR.Web.Activities.ActivateBrowser

The "Activate Browser" activity in AutomatR's Web Activities category is designed to activate an already opened browser, facilitating the execution of multiple actions within it. This activity is useful when working with web automation scenarios, where interacting with a specific browser instance is required.

Properties

NameDescription
Input
BrowserEnter the browser object, which could be the output of other activities (e.g., Open Browser).
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Activate Browser" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Activate Browser" activity onto the workflow.
  2. Configure the properties by specifying the browser object obtained from other activities (e.g., Open Browser).
  3. Optionally, configure the delay.
  4. Execute the workflow to activate the specified browser, bringing it to the foreground for further actions.

Example: Consider an example where the "Activate Browser" activity is used to activate a browser object obtained from the "Open Browser" activity:

Activate Browser:
Browser: browserObjectFromOpenBrowser
Delay: 2

In this example, the activity activates the browser specified by the "browserObjectFromOpenBrowser" variable, bringing it to the foreground for subsequent web automation actions.